package com.xxin.exceptions;

import lombok.Data;

/**
 * 业务异常
 * @author 小欣
 * @version 1.0
 * @since 1.8
 */
@Data
public class BusinessException extends RuntimeException{
	
	private Integer code;
	
	public BusinessException() {
		super();
	}
	
	public BusinessException(String message,Integer code) {
		super(message);
		this.code = code;
	}
}
